//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.List;

public class LiveExamTask implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Integer state;
    private Long createUser;
    private Long createTime;

    @TableField(value = "task_name", condition = SqlCondition.LIKE)
    private String taskName;
    private Integer taskType;
    private Integer taskProductCount;
    private Integer taskDuration;
    private Long examId;
    private Integer taskCount;
    private Integer taskOrder;
    private Integer taskProductType;
    private Long taskProductId;
    private Integer taskQuestionDelay;
    private Integer taskQuestionInterval;
    private Integer taskQuestionStay;
    private String taskChara;
    @TableField(
            exist = false
    )
    private Long taskUserId;
    @TableField(
            exist = false
    )
    private Integer taskUserState;
    @TableField(
            exist = false
    )
    private String productName;
    @TableField(
            exist = false
    )
    private Long productId;
    @TableField(
            exist = false
    )
    private List<LiveTaskUserChannel> channels;
    @TableField(
            exist = false
    )
    private Integer realCount;
    private Integer taskQuestionCount;

    public LiveExamTask() {
    }

    public Long getId() {
        return this.id;
    }

    public Integer getState() {
        return this.state;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public String getTaskName() {
        return this.taskName;
    }

    public Integer getTaskType() {
        return this.taskType;
    }

    public Integer getTaskProductCount() {
        return this.taskProductCount;
    }

    public Integer getTaskDuration() {
        return this.taskDuration;
    }

    public Long getExamId() {
        return this.examId;
    }

    public Integer getTaskCount() {
        return this.taskCount;
    }

    public Integer getTaskOrder() {
        return this.taskOrder;
    }

    public Integer getTaskProductType() {
        return this.taskProductType;
    }

    public Long getTaskProductId() {
        return this.taskProductId;
    }

    public Integer getTaskQuestionDelay() {
        return this.taskQuestionDelay;
    }

    public Integer getTaskQuestionInterval() {
        return this.taskQuestionInterval;
    }

    public Integer getTaskQuestionStay() {
        return this.taskQuestionStay;
    }

    public String getTaskChara() {
        return this.taskChara;
    }

    public Long getTaskUserId() {
        return this.taskUserId;
    }

    public Integer getTaskUserState() {
        return this.taskUserState;
    }

    public String getProductName() {
        return this.productName;
    }

    public Long getProductId() {
        return this.productId;
    }

    public List<LiveTaskUserChannel> getChannels() {
        return this.channels;
    }

    public Integer getRealCount() {
        return this.realCount;
    }

    public Integer getTaskQuestionCount() {
        return this.taskQuestionCount;
    }

    public LiveExamTask setId(final Long id) {
        this.id = id;
        return this;
    }

    public LiveExamTask setState(final Integer state) {
        this.state = state;
        return this;
    }

    public LiveExamTask setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public LiveExamTask setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public LiveExamTask setTaskName(final String taskName) {
        this.taskName = taskName;
        return this;
    }

    public LiveExamTask setTaskType(final Integer taskType) {
        this.taskType = taskType;
        return this;
    }

    public LiveExamTask setTaskProductCount(final Integer taskProductCount) {
        this.taskProductCount = taskProductCount;
        return this;
    }

    public LiveExamTask setTaskDuration(final Integer taskDuration) {
        this.taskDuration = taskDuration;
        return this;
    }

    public LiveExamTask setExamId(final Long examId) {
        this.examId = examId;
        return this;
    }

    public LiveExamTask setTaskCount(final Integer taskCount) {
        this.taskCount = taskCount;
        return this;
    }

    public LiveExamTask setTaskOrder(final Integer taskOrder) {
        this.taskOrder = taskOrder;
        return this;
    }

    public LiveExamTask setTaskProductType(final Integer taskProductType) {
        this.taskProductType = taskProductType;
        return this;
    }

    public LiveExamTask setTaskProductId(final Long taskProductId) {
        this.taskProductId = taskProductId;
        return this;
    }

    public LiveExamTask setTaskQuestionDelay(final Integer taskQuestionDelay) {
        this.taskQuestionDelay = taskQuestionDelay;
        return this;
    }

    public LiveExamTask setTaskQuestionInterval(final Integer taskQuestionInterval) {
        this.taskQuestionInterval = taskQuestionInterval;
        return this;
    }

    public LiveExamTask setTaskQuestionStay(final Integer taskQuestionStay) {
        this.taskQuestionStay = taskQuestionStay;
        return this;
    }

    public LiveExamTask setTaskChara(final String taskChara) {
        this.taskChara = taskChara;
        return this;
    }

    public LiveExamTask setTaskUserId(final Long taskUserId) {
        this.taskUserId = taskUserId;
        return this;
    }

    public LiveExamTask setTaskUserState(final Integer taskUserState) {
        this.taskUserState = taskUserState;
        return this;
    }

    public LiveExamTask setProductName(final String productName) {
        this.productName = productName;
        return this;
    }

    public LiveExamTask setProductId(final Long productId) {
        this.productId = productId;
        return this;
    }

    public LiveExamTask setChannels(final List<LiveTaskUserChannel> channels) {
        this.channels = channels;
        return this;
    }

    public LiveExamTask setRealCount(final Integer realCount) {
        this.realCount = realCount;
        return this;
    }

    public LiveExamTask setTaskQuestionCount(final Integer taskQuestionCount) {
        this.taskQuestionCount = taskQuestionCount;
        return this;
    }

    public String toString() {
        return "LiveExamTask(id=" + this.getId() + ", state=" + this.getState() + ", createUser=" + this.getCreateUser() + ", createTime=" + this.getCreateTime() + ", taskName=" + this.getTaskName() + ", taskType=" + this.getTaskType() + ", taskProductCount=" + this.getTaskProductCount() + ", taskDuration=" + this.getTaskDuration() + ", examId=" + this.getExamId() + ", taskCount=" + this.getTaskCount() + ", taskOrder=" + this.getTaskOrder() + ", taskProductType=" + this.getTaskProductType() + ", taskProductId=" + this.getTaskProductId() + ", taskQuestionDelay=" + this.getTaskQuestionDelay() + ", taskQuestionInterval=" + this.getTaskQuestionInterval() + ", taskQuestionStay=" + this.getTaskQuestionStay() + ", taskChara=" + this.getTaskChara() + ", taskUserId=" + this.getTaskUserId() + ", taskUserState=" + this.getTaskUserState() + ", productName=" + this.getProductName() + ", productId=" + this.getProductId() + ", channels=" + this.getChannels() + ", realCount=" + this.getRealCount() + ", taskQuestionCount=" + this.getTaskQuestionCount() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LiveExamTask)) {
            return false;
        } else {
            LiveExamTask other = (LiveExamTask)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label299: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label299;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label299;
                    }

                    return false;
                }

                Object this$state = this.getState();
                Object other$state = other.getState();
                if (this$state == null) {
                    if (other$state != null) {
                        return false;
                    }
                } else if (!this$state.equals(other$state)) {
                    return false;
                }

                Object this$createUser = this.getCreateUser();
                Object other$createUser = other.getCreateUser();
                if (this$createUser == null) {
                    if (other$createUser != null) {
                        return false;
                    }
                } else if (!this$createUser.equals(other$createUser)) {
                    return false;
                }

                label278: {
                    Object this$createTime = this.getCreateTime();
                    Object other$createTime = other.getCreateTime();
                    if (this$createTime == null) {
                        if (other$createTime == null) {
                            break label278;
                        }
                    } else if (this$createTime.equals(other$createTime)) {
                        break label278;
                    }

                    return false;
                }

                label271: {
                    Object this$taskName = this.getTaskName();
                    Object other$taskName = other.getTaskName();
                    if (this$taskName == null) {
                        if (other$taskName == null) {
                            break label271;
                        }
                    } else if (this$taskName.equals(other$taskName)) {
                        break label271;
                    }

                    return false;
                }

                label264: {
                    Object this$taskType = this.getTaskType();
                    Object other$taskType = other.getTaskType();
                    if (this$taskType == null) {
                        if (other$taskType == null) {
                            break label264;
                        }
                    } else if (this$taskType.equals(other$taskType)) {
                        break label264;
                    }

                    return false;
                }

                Object this$taskProductCount = this.getTaskProductCount();
                Object other$taskProductCount = other.getTaskProductCount();
                if (this$taskProductCount == null) {
                    if (other$taskProductCount != null) {
                        return false;
                    }
                } else if (!this$taskProductCount.equals(other$taskProductCount)) {
                    return false;
                }

                label250: {
                    Object this$taskDuration = this.getTaskDuration();
                    Object other$taskDuration = other.getTaskDuration();
                    if (this$taskDuration == null) {
                        if (other$taskDuration == null) {
                            break label250;
                        }
                    } else if (this$taskDuration.equals(other$taskDuration)) {
                        break label250;
                    }

                    return false;
                }

                Object this$examId = this.getExamId();
                Object other$examId = other.getExamId();
                if (this$examId == null) {
                    if (other$examId != null) {
                        return false;
                    }
                } else if (!this$examId.equals(other$examId)) {
                    return false;
                }

                label236: {
                    Object this$taskCount = this.getTaskCount();
                    Object other$taskCount = other.getTaskCount();
                    if (this$taskCount == null) {
                        if (other$taskCount == null) {
                            break label236;
                        }
                    } else if (this$taskCount.equals(other$taskCount)) {
                        break label236;
                    }

                    return false;
                }

                Object this$taskOrder = this.getTaskOrder();
                Object other$taskOrder = other.getTaskOrder();
                if (this$taskOrder == null) {
                    if (other$taskOrder != null) {
                        return false;
                    }
                } else if (!this$taskOrder.equals(other$taskOrder)) {
                    return false;
                }

                Object this$taskProductType = this.getTaskProductType();
                Object other$taskProductType = other.getTaskProductType();
                if (this$taskProductType == null) {
                    if (other$taskProductType != null) {
                        return false;
                    }
                } else if (!this$taskProductType.equals(other$taskProductType)) {
                    return false;
                }

                label215: {
                    Object this$taskProductId = this.getTaskProductId();
                    Object other$taskProductId = other.getTaskProductId();
                    if (this$taskProductId == null) {
                        if (other$taskProductId == null) {
                            break label215;
                        }
                    } else if (this$taskProductId.equals(other$taskProductId)) {
                        break label215;
                    }

                    return false;
                }

                label208: {
                    Object this$taskQuestionDelay = this.getTaskQuestionDelay();
                    Object other$taskQuestionDelay = other.getTaskQuestionDelay();
                    if (this$taskQuestionDelay == null) {
                        if (other$taskQuestionDelay == null) {
                            break label208;
                        }
                    } else if (this$taskQuestionDelay.equals(other$taskQuestionDelay)) {
                        break label208;
                    }

                    return false;
                }

                Object this$taskQuestionInterval = this.getTaskQuestionInterval();
                Object other$taskQuestionInterval = other.getTaskQuestionInterval();
                if (this$taskQuestionInterval == null) {
                    if (other$taskQuestionInterval != null) {
                        return false;
                    }
                } else if (!this$taskQuestionInterval.equals(other$taskQuestionInterval)) {
                    return false;
                }

                Object this$taskQuestionStay = this.getTaskQuestionStay();
                Object other$taskQuestionStay = other.getTaskQuestionStay();
                if (this$taskQuestionStay == null) {
                    if (other$taskQuestionStay != null) {
                        return false;
                    }
                } else if (!this$taskQuestionStay.equals(other$taskQuestionStay)) {
                    return false;
                }

                label187: {
                    Object this$taskChara = this.getTaskChara();
                    Object other$taskChara = other.getTaskChara();
                    if (this$taskChara == null) {
                        if (other$taskChara == null) {
                            break label187;
                        }
                    } else if (this$taskChara.equals(other$taskChara)) {
                        break label187;
                    }

                    return false;
                }

                Object this$taskUserId = this.getTaskUserId();
                Object other$taskUserId = other.getTaskUserId();
                if (this$taskUserId == null) {
                    if (other$taskUserId != null) {
                        return false;
                    }
                } else if (!this$taskUserId.equals(other$taskUserId)) {
                    return false;
                }

                Object this$taskUserState = this.getTaskUserState();
                Object other$taskUserState = other.getTaskUserState();
                if (this$taskUserState == null) {
                    if (other$taskUserState != null) {
                        return false;
                    }
                } else if (!this$taskUserState.equals(other$taskUserState)) {
                    return false;
                }

                label166: {
                    Object this$productName = this.getProductName();
                    Object other$productName = other.getProductName();
                    if (this$productName == null) {
                        if (other$productName == null) {
                            break label166;
                        }
                    } else if (this$productName.equals(other$productName)) {
                        break label166;
                    }

                    return false;
                }

                label159: {
                    Object this$productId = this.getProductId();
                    Object other$productId = other.getProductId();
                    if (this$productId == null) {
                        if (other$productId == null) {
                            break label159;
                        }
                    } else if (this$productId.equals(other$productId)) {
                        break label159;
                    }

                    return false;
                }

                label152: {
                    Object this$channels = this.getChannels();
                    Object other$channels = other.getChannels();
                    if (this$channels == null) {
                        if (other$channels == null) {
                            break label152;
                        }
                    } else if (this$channels.equals(other$channels)) {
                        break label152;
                    }

                    return false;
                }

                Object this$realCount = this.getRealCount();
                Object other$realCount = other.getRealCount();
                if (this$realCount == null) {
                    if (other$realCount != null) {
                        return false;
                    }
                } else if (!this$realCount.equals(other$realCount)) {
                    return false;
                }

                Object this$taskQuestionCount = this.getTaskQuestionCount();
                Object other$taskQuestionCount = other.getTaskQuestionCount();
                if (this$taskQuestionCount == null) {
                    if (other$taskQuestionCount != null) {
                        return false;
                    }
                } else if (!this$taskQuestionCount.equals(other$taskQuestionCount)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LiveExamTask;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result =  1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $taskName = this.getTaskName();
        result1 = result * 59 + ($taskName == null ? 43 : $taskName.hashCode());
        Object $taskType = this.getTaskType();
        result1 = result * 59 + ($taskType == null ? 43 : $taskType.hashCode());
        Object $taskProductCount = this.getTaskProductCount();
        result1 = result * 59 + ($taskProductCount == null ? 43 : $taskProductCount.hashCode());
        Object $taskDuration = this.getTaskDuration();
        result1 = result * 59 + ($taskDuration == null ? 43 : $taskDuration.hashCode());
        Object $examId = this.getExamId();
        result1 = result * 59 + ($examId == null ? 43 : $examId.hashCode());
        Object $taskCount = this.getTaskCount();
        result1 = result * 59 + ($taskCount == null ? 43 : $taskCount.hashCode());
        Object $taskOrder = this.getTaskOrder();
        result1 = result * 59 + ($taskOrder == null ? 43 : $taskOrder.hashCode());
        Object $taskProductType = this.getTaskProductType();
        result1 = result * 59 + ($taskProductType == null ? 43 : $taskProductType.hashCode());
        Object $taskProductId = this.getTaskProductId();
        result1 = result * 59 + ($taskProductId == null ? 43 : $taskProductId.hashCode());
        Object $taskQuestionDelay = this.getTaskQuestionDelay();
        result1 = result * 59 + ($taskQuestionDelay == null ? 43 : $taskQuestionDelay.hashCode());
        Object $taskQuestionInterval = this.getTaskQuestionInterval();
        result1 = result * 59 + ($taskQuestionInterval == null ? 43 : $taskQuestionInterval.hashCode());
        Object $taskQuestionStay = this.getTaskQuestionStay();
        result1 =  result * 59 + ($taskQuestionStay == null ? 43 : $taskQuestionStay.hashCode());
        Object $taskChara = this.getTaskChara();
        result1 =  result * 59 + ($taskChara == null ? 43 : $taskChara.hashCode());
        Object $taskUserId = this.getTaskUserId();
        result1 =  result * 59 + ($taskUserId == null ? 43 : $taskUserId.hashCode());
        Object $taskUserState = this.getTaskUserState();
        result1 =  result * 59 + ($taskUserState == null ? 43 : $taskUserState.hashCode());
        Object $productName = this.getProductName();
        result1 =  result * 59 + ($productName == null ? 43 : $productName.hashCode());
        Object $productId = this.getProductId();
        result1 =  result * 59 + ($productId == null ? 43 : $productId.hashCode());
        Object $channels = this.getChannels();
        result1 =  result * 59 + ($channels == null ? 43 : $channels.hashCode());
        Object $realCount = this.getRealCount();
        result1 =  result * 59 + ($realCount == null ? 43 : $realCount.hashCode());
        Object $taskQuestionCount = this.getTaskQuestionCount();
        result1 =  result * 59 + ($taskQuestionCount == null ? 43 : $taskQuestionCount.hashCode());
        return result1;
    }
}
